package com.hoshiicloud.goods.param.category;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.io.Serializable;

/**
* <p>
* 修改类目值类别参数
* </p>
*
* @author zhangshuhu
* @since 2019-06-04
*/
@Data
@ApiModel(value="修改规格值类别", description="修改规格值类别")
public class GoodsSpecificationsValuesTypeUpdateParam implements Serializable {
    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "主键ID",required =true)
    @NotNull(message = "规格值类别ID不能为空")
    private Long id;

    @ApiModelProperty(value = "规格值分类名")
    @NotBlank(message = "规格值分类名不能为空")
    private String name;

    @ApiModelProperty(value = "属性值",hidden = true)
    private String updatedBy;

}
